﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace JoeResume.Model
{
    public class Resume
    {
        public int  Id { get; set; }
        public string Name { get; set; }
        public int PersonalInfoId { get; set; }
        public int SummaryId { get; set; }
        public int EducationId { get; set; }
        [Timestamp]
        public byte[] RowVersion { get; set; }

        public virtual Education Education { get; set; }
        public virtual PersonalInfo PersonalInfo { get; set; }
        public virtual Summary Summary { get; set; }
        
        public virtual ICollection<Employer> Employers { get; set; }
        public virtual ICollection<Skill> Skills { get; set; }
    }
}
